export default {
    //登录
    login: "/user/login",
    //获取验证码
    sendcode: "/user/send_code",
    //注册
    register: "/user/register2",
    //获取首页商品列表
    indexlist: "/myindex/indexList",
    //商品分类
    classify: "/classify/productClassify",
    //商品详情
    productdetail: "/detail/productDetail",
    //上传头像
    uploadImg: "/user/upload_img",
    //保存头像
    saveImg: "/user/save_img",
    //删除头像
    deleteImg: "/user/delete_img",
    //获取用户昵称
    getAvatorNickName: "/user/get_avator_nickname",
    //获取用户id
    get_id: "/user/getid",
    //加入购物车
    join_cart: "/cart/joincart",
    //获取购物车信息
    get_cart: "/cart/getcart",
    //删除购物车信息
    delete_cart: "/cart/deletecart",
    //获取轮播图信息
    get_banner: "/myindex/bannerList",
    //搜索
    get_search: "/search/getSearch",
    //添加订单
    add_order: "/cart/joinorder",
    //用户订单
    get_order: "/cart/getorder",
    //新增地址
    add_address: "/cart/joinaddress",
    //地址列表
    get_address: "/cart/getaddress",
    //获取用户个人资料
    get_person: "/user/getperson",
    //用户修改个人资料
    modify_person: "/user/modifyperson",
    //判断用户是否收藏
    get_iscollect: "/cart/getiscollect",
    //添加商品收藏
    add_collect: "/cart/joincollect",
    //取消商品收藏
    delete_collect: "/cart/deletecollect",
    //获取收藏列表
    get_collect_list: "/cart/getcollectlist",
    //获取待收货商品列表
    get_not_received: "/cart/getnotreceived",
    //获取已收货商品列表
    get_to_received: "/cart/gettoreceived",
    //修改待收货为已收货
    modify_received_state: "/cart/modifyreceivedstate",
};
